.class Lcom/xingbook/park/fragment/d;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/park/fragment/HomeGroupFragment;

.field private final synthetic b:Lcom/xingbook/group/a/b;


# direct methods
.method constructor <init>(Lcom/xingbook/park/fragment/HomeGroupFragment;Lcom/xingbook/group/a/b;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    iput-object p2, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 9

    const/4 v0, 0x0

    const/16 v8, 0xc8

    const/16 v7, 0x8

    const/4 v6, 0x6

    const/4 v5, 0x1

    iget-object v1, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-boolean v1, v1, Lcom/xingbook/group/a/b;->f:Z

    if-eqz v1, :cond_3

    invoke-static {}, Lcom/xingbook/group/c/a;->a()Lcom/xingbook/group/c/a;

    move-result-object v1

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v3, v3, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    iget-object v4, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v4, v4, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-virtual {v1, v2, v3, v4, v0}, Lcom/xingbook/group/c/a;->a(ZLjava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)Lcom/xingbook/park/e/c;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->e()I

    move-result v1

    if-ne v1, v8, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->a()I

    move-result v1

    if-nez v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    iget-object v1, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v1, v1, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/xingbook/park/fragment/HomeGroupFragment;->b(Lcom/xingbook/park/fragment/HomeGroupFragment;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v0

    const/4 v1, 0x7

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v3, v3, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ": \u6211\u4f1a\u5728\u8fd9\u91cc\u7b49\u4f60\u56de\u6765\u7684 ( >\ufe4f<\u3002)\uff5e"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/fragment/e;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v1}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u9000\u51fa\u5931\u8d25:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v7, v0}, Lcom/xingbook/park/fragment/e;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v0

    const-string v1, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u9000\u51fa\u5931\u8d25"

    invoke-virtual {v0, v7, v1}, Lcom/xingbook/park/fragment/e;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_0

    :cond_3
    invoke-static {}, Lcom/xingbook/group/c/a;->a()Lcom/xingbook/group/c/a;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v2, v2, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    iget-object v3, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v3, v3, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    iget-object v4, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v4}, Lcom/xingbook/park/fragment/HomeGroupFragment;->f(Lcom/xingbook/park/fragment/HomeGroupFragment;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-gt v4, v5, :cond_4

    iget-object v0, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeGroupFragment;->f(Lcom/xingbook/park/fragment/HomeGroupFragment;)Ljava/util/ArrayList;

    move-result-object v0

    :cond_4
    invoke-virtual {v1, v5, v2, v3, v0}, Lcom/xingbook/group/c/a;->a(ZLjava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)Lcom/xingbook/park/e/c;

    move-result-object v0

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->e()I

    move-result v1

    if-ne v1, v8, :cond_7

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->a()I

    move-result v1

    if-nez v1, :cond_6

    iget-object v1, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    iget-object v2, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    invoke-static {v1, v2}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;Lcom/xingbook/group/a/b;)V

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/e;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-boolean v2, v0, Lcom/xingbook/group/a/e;->a:Z

    if-eqz v2, :cond_5

    iget-object v2, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v2, v2, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ": \u6b22\u8fce\u60a8\u56de\u6765 ^_^"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :goto_1
    iget-object v2, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v2}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v2

    const/4 v3, 0x5

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v3, v1}, Lcom/xingbook/park/fragment/e;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v1}, Landroid/os/Message;->sendToTarget()V

    iget-boolean v1, v0, Lcom/xingbook/group/a/e;->a:Z

    if-eqz v1, :cond_0

    iget-boolean v1, v0, Lcom/xingbook/group/a/e;->f:Z

    if-eqz v1, :cond_0

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v2, 0xb

    iput v2, v1, Landroid/os/Message;->what:I

    iput v5, v1, Landroid/os/Message;->arg1:I

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v3, v3, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ": \u606d\u559c\u60a8"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v0, v0, Lcom/xingbook/group/a/e;->b:I

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, "\u7ea7\u4e86\uff01"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v0

    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/park/fragment/e;->sendMessageDelayed(Landroid/os/Message;J)Z

    goto/16 :goto_0

    :cond_5
    iget-object v2, p0, Lcom/xingbook/park/fragment/d;->b:Lcom/xingbook/group/a/b;

    iget-object v2, v2, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ": \u6b22\u8fce\u60a8\u7684\u52a0\u5165 ^_^"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_1

    :cond_6
    iget-object v1, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v1}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u52a0\u5165\u5931\u8d25:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, "\uff0c\u7a0d\u540e\u518d\u8bd5\u8bd5\u5427"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v6, v0}, Lcom/xingbook/park/fragment/e;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/xingbook/park/fragment/d;->a:Lcom/xingbook/park/fragment/HomeGroupFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeGroupFragment;->a(Lcom/xingbook/park/fragment/HomeGroupFragment;)Lcom/xingbook/park/fragment/e;

    move-result-object v0

    const-string v1, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u52a0\u5165\u5931\u8d25\uff0c\u7a0d\u540e\u518d\u8bd5\u8bd5\u5427"

    invoke-virtual {v0, v6, v1}, Lcom/xingbook/park/fragment/e;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto/16 :goto_0
.end method
